package code.bigmama.activity;

import code.bigmama.controller.FileNameManager;
import code.bigmama.views.VideoRecorderView;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;

public class RecordVideoActivity extends Activity
{
	public static final String DEBUG_TAG = "VideoRecorderActivity";
	
	private String mFileName = null;
	
	VideoRecorderView mVideoRecorderView;
	
	@Override
	protected void onCreate(Bundle savedInstanceState)
	{
		Log.d(DEBUG_TAG, "onCreate()");
		
		mFileName = FileNameManager.getInstance().getVideoFileName();
		
		mVideoRecorderView = new VideoRecorderView(this, "/sdcard", mFileName);
		setContentView( mVideoRecorderView);
		
		super.onCreate(savedInstanceState);
	}
	
	@Override
	protected void onResume()
	{
		Log.d(DEBUG_TAG, "onResume()");
		super.onResume();
	}
	
	@Override
	protected void onStart()
	{
		Log.d(DEBUG_TAG, "onStart()");
		super.onStart();
	}
	

}
